package spring.cloud.tasks.executor.trigger;

import spring.cloud.tasks.executor.task.TaskExecuteEngine;

public interface Trigger {

    void init(TaskExecuteEngine taskExecuteEngine);

    org.quartz.Trigger createQuartzTrigger();

    boolean isInitialTriggered();

    void enableTask();

    void disableTask();

    void onResharding();

    boolean isFailoverSupported();

    Triggered createTriggered(boolean yes);


}
